extern long f();
extern long g();
extern long h();
extern long i();
extern long j();
extern long k();
#include <stdio.h>
int test() {
	long errors=0;
	// f()==1 && g()==2 && h()==4 && i()==1 && j()==2 && k()==4 
	long expected=1;
	long result=f();
	if (result!=expected) {
		printf("Error: Expected f()=%ld but got %ld\n",result,expected); 
		errors++;	
	}
	expected=2;
	result=g();
	if (result!=expected) {
		printf("Error: Expected g()=%ld but got %ld\n",result,expected); 
		errors++;	
	}
	expected=4;
	result=h();
	if (result!=expected) {
		printf("Error: Expected h()=%ld but got %ld\n",result,expected); 
		errors++;	
	}
	expected=1;
	result=i();
	if (result!=expected) {
		printf("Error: Expected i()=%ld but got %ld\n",result,expected); 
		errors++;	
	}
	expected=2;
	result=j();
	if (result!=expected) {
		printf("Error: Expected j()=%ld but got %ld\n",result,expected); 
		errors++;	
	}
	expected=4;
	result=k();
	if (result!=expected) {
		printf("Error: Expected k()=%ld but got %ld\n",result,expected); 
		errors++;	
	}
	if (errors==0) return 1;
	return 0;
}
RET( test() == 1 );
